package com.grpaoedu.ioc.service.impl;

import com.grpaoedu.ioc.bean.User;
import com.grpaoedu.ioc.dao.UserDao;
import com.grpaoedu.ioc.service.UserService;

/**
 * @author LittleDesire
 * @description
 * @date 2022-03-28 周一 21:01
 * @since 17
 */
public class UserServiceImpl implements UserService {

    private UserDao userDao;

    @Override
    public User getUser() {
        System.out.println("业务逻辑层。。");
        return userDao.getUser();
    }

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }
}
